package com.jiazhong.example.project.bookstore.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiazhong.example.project.bookstore.commons.bean.User;
import com.jiazhong.example.project.bookstore.commons.util.JsonResult;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;

@Service
public interface UserService extends IService<User> {

    JsonResult login(User user);

    JsonResult isLogin(String token);

    JsonResult logout(String token);

}
